Fix ispower with negative input, add some tests